package test1;

import java.util.PriorityQueue;
public class demo {

    @FunctionalInterface
    interface Test{
        int add(int a,int b);
    }

    public static void main(String[] args) {

        Test test = (a,b) -> a+b;
        System.out.println(test.add(3, 2));
    }
}
